package com.mapper.seedoctor;

import com.comm.vo.SaveVo;
import com.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewVisitsMapper {

     public List<Registered> selectAllRegisterByName(@Param("bankName") String bankName);

     public List<PatientBank> selectPatientBankByName(@Param("bankName") String bankName);

     public List<DrugAll> selectDrugAllListByName(@Param("drugName") String drugName);

     public List<InspectionItem> selectInspectionItemByName(@Param("itemName") String itemName);

     public List<PrescriptionCost> selectAllPrescriptionCost();

     public PatientBank selectPatientBankRecordsById(@Param("bankId") Long bankId);

     /**
      * 根据挂号列表id查询患者id
      * @param id
      * @return
      */
     public Long selectPatientBankIdByRegId(Long id);

     /**
      * 查询所有seedoctor
      * @return
      */
     public List<SeeDoctor> selectAllSeeDoctor();

     /**
      * 根据历史病历Id查询历史病历
      * @param recordsId
      * @return
      */
     public PatientRecords selectPatientRecordsById(Long recordsId);


     public PatientBank selectPatientBankById(Long bankId);








}

